<%@ page language="java" contentType="text/html; charset=UTF-8"
         isELIgnored="false" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f" %>
<%@ taglib uri="/mytag" prefix="yjd"%>
<body>
<div class="wrap">
    <div class="h_a">搜索</div>
    <form
            action="${requestScope.FPWEB.rootPath }/smsInfo/list${requestScope.FPWEB.urlStuff}"
            method="get" autocomplete="off">
        <div class="search_type cc">
            <label>手机号：</label>
            <input name="mobile" type="text" class="input length_3 mr10" value="${param.mobile}" placeholder="手机">
            <button type="submit" class="btn btn_submit length_1">搜索</button>
        </div>
    </form>
    <div class="table_list">
        <table width="100%">
            <thead>
            <tr>
                <td>手机号</td>
                <td>内容</td>
                <td>状态</td>
                <td>耗时</td>
                <td>发送时间</td>
            </tr>
            </thead>
            <tbody id="J_word_list">
            <c:forEach items="${pager.pagerModel.dataList }" var="item" >
                <tr>
                    <td>${item.mobile}</td>
                    <td>${item.context}</td>
                    <td><c:if test="${item.status != 0}">失败</c:if>
                        <c:if test="${item.status == 0}">成功</c:if>
                    </td>
                    <td>${item.cost}ms</td>
                    <td><yjd:jstl_date value="${item.create_time }" parttern="yyyy-MM-dd HH:mm:ss"/></td>
                </tr>
            </c:forEach>
            </tbody>
        </table>
        <!-- 分页 -->
        <%@ include file="../public/pager/pager.pagination.jsp" %>
    </div>
</div>
<script>
    YJD.use('AppAdminCommon');
</script>
</body>